package com.foodost.idiomer;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

@Table(name="idiom_main")
public class IdiomData {
	@Id(column="idiomId")
	private int idiomId;
	private String idiomRight;//正确的成语
	private String idiomWrong1;//错误成语1
	private String idiomWrong2;//错误成语2
	private String idiomWrong3;//错误成语3
	private String idiomExplan;//成语释义
	private String idiomPinYin;//成语拼音
	private int idiomGrage;//难度等级
	public int getIdiomId() {
		return idiomId;
	}
	public void setIdiomId(int idiomId) {
		this.idiomId = idiomId;
	}
	public String getIdiomRight() {
		return idiomRight;
	}
	public void setIdiomRight(String idiomRight) {
		this.idiomRight = idiomRight;
	}
	public String getIdiomWrong1() {
		return idiomWrong1;
	}
	public void setIdiomWrong1(String idiomWrong1) {
		this.idiomWrong1 = idiomWrong1;
	}
	public String getIdiomWrong2() {
		return idiomWrong2;
	}
	public void setIdiomWrong2(String idiomWrong2) {
		this.idiomWrong2 = idiomWrong2;
	}
	public String getIdiomWrong3() {
		return idiomWrong3;
	}
	public void setIdiomWrong3(String idiomWrong3) {
		this.idiomWrong3 = idiomWrong3;
	}
	public String getIdiomExplan() {
		return idiomExplan;
	}
	public void setIdiomExplan(String idiomExplan) {
		this.idiomExplan = idiomExplan;
	}
	public int getIdiomGrage() {
		return idiomGrage;
	}
	public void setIdiomGrage(int idiomGrage) {
		this.idiomGrage = idiomGrage;
	}
	public String getIdiomPinYin() {
        return idiomPinYin;
    }
    public void setIdiomPinYin(String idiomPinYin) {
        this.idiomPinYin = idiomPinYin;
    }
    @Override
	public String toString() {
		
		return "idiomId = " + idiomId + "idiomGrage =" + idiomGrage
				+" idiomRight = " + idiomRight +" idiomWrong1 = " + idiomWrong1
				+" idiomWrong2= " + idiomWrong2 + " idiomWrong3 = " + idiomWrong3 
				+" idiomPinYin" + idiomPinYin;
	}

}
